package packagerolexml;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;



@Table(name = "merchant_account")
@Entity
public class MerchantAccount  {
	

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public int getBalance() {
		return balance;
	}
	public void setBalance(int balance) {
		this.balance = balance;
	}
	public long getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(long merchant_id) {
		this.merchantId = merchant_id;
	}
	@Override
	public String toString() {
		return "MerchantAccount [id=" + id + ", balance=" + balance + ", merchant_id=" + merchantId + "]";
	}
	@Id
	@Column(name = "id")
	private long id;
	@Column(name = "balance")
	private int balance;
	@Column(name = "merchant_id")
	private long merchantId;
}
